projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04897e5
)
testtitlebar: Set a window icon
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 13 Dec 2013 05:38:36 +0000
(
00:38
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 13 Dec 2013 06:02:36 +0000
(
01:02
-0500)
This reveals that GtkHeaderBar does not pick up window icons
correctly for it menu button, currently.
tests/testtitlebar.c
patch
|
blob
|
history
diff --git
a/tests/testtitlebar.c
b/tests/testtitlebar.c
index 420540b6a8e2c18322daec3194401285197f5d90..1d59bbafc57036f53eb58427fe4d5fe544fbd5e0 100644
(file)
--- a/
tests/testtitlebar.c
+++ b/
tests/testtitlebar.c
@@
-47,6
+47,7
@@
activate (GApplication *gapp)
" </menu>"
"</interface>", -1, NULL);
window = gtk_application_window_new (app);
+ gtk_window_set_icon_name (GTK_WINDOW (window), "preferences-desktop-font");
menu = (GMenuModel*)gtk_builder_get_object (builder, "app-menu");
gtk_application_add_window (app, GTK_WINDOW (window));